package PhamVanHien_object;

public class Circle {
private double side1;
private double side2;
private double side3;
	public double Area(Circle objEntity){
		double p = (objEntity.getSide1() + objEntity.getSide2() + objEntity.getSide3())/2;
		return Math.sqrt(p*(p - objEntity.getSide1())*(p - objEntity.getSide2())*(p - objEntity.getSide3()));
	}
	public double Perimetter(Circle obiEntity){
		return obiEntity.getSide1() + obiEntity.getSide2() + obiEntity.getSide3();
	}
	public double getSide1() {
		return side1;
	}
	public void setSide1(double side1) {
		this.side1 = side1;
	}
	public double getSide2() {
		return side2;
	}
	public void setSide2(double side2) {
		this.side2 = side2;
	}
	public double getSide3() {
		return side3;
	}
	public void setSide3(double side3) {
		this.side3 = side3;
	}
	
}
